package com.jiyun.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jiyun.model.xitong.Lunbotu;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class LunbotuDto extends Lunbotu implements Serializable {
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date min;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date max;
}
